//
//  UILabel+SY.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/11.
//  Copyright © 2019年 李文强. All rights reserved.
//

#import "UILabel+SY.h"

@implementation UILabel (SY)
+ (UILabel *)titleColour:(UIColor *)colour
              titleFount:(CGFloat)font
                pingfang:(NSString *)pingfang
               alignment:(NSTextAlignment)ment
               titleLine:(NSInteger)line
{
    UILabel *titleLab = [[UILabel alloc] init];
    titleLab.textColor = colour;
    titleLab.font = [UIFont fontWithName:pingfang size:font];
    titleLab.textAlignment = ment;
    titleLab.numberOfLines = line;
    return titleLab;
}
@end
